package io.polly.ldz.reactor.exception;

/**
 * @Author ldz112@163.com
 * @Classname AuthException
 * @Version V1.0
 * @Description
 * @Date 2024/10/14 10:14
 * Copyright (C) 2023 All Rights Reserved
 */
public class AuthException extends BusinessException{

    private static String message ="AuthenticationFail";

    public AuthException(String message) {
        super(401,message);
    }

    public AuthException() {
        super(401,message);
    }

    public static String getErrorMessage(){
        return message;
    }
}